package cn.tju.yanbo.commons.db;

import java.io.IOException;
import java.util.List;

import android.util.Log;
import cn.tju.yanbo.utils.AppUtils;

public class DBUtils {

    public static List<String> TAL_CHONGSHA_SQL = null;
    public static List<String> TAL_JISHI_SQL = null;
    public static List<String> TAL_NONGLI_SQL = null;
    public static List<String> TAL_YIJI_SQL = null;
    
    static {
        try {
            TAL_CHONGSHA_SQL = AppUtils.load("/assets/db/chongsha");
            TAL_JISHI_SQL = AppUtils.load("/assets/db/jishi");
            TAL_NONGLI_SQL = AppUtils.load("/assets/db/nongli");
            TAL_YIJI_SQL = AppUtils.load("/assets/db/yiji");
        } catch (IOException e) {
            Log.i("startup", "read sql error", e);
        }
    }
    
}
